import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {BladeComponent} from './blade/blade.component';
import {BladeContainerDirective} from './blade/blade-container.directive';
import {DialogComponent} from './dialog/dialog.component';
import {DialogService} from './dialog.service';
import {MatDialogModule} from '@angular/material';
import {MatProgressBarModule} from '@angular/material/progress-bar';
import {BladeBoxComponent} from './blade/blade-box.component';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {ColorChoicesComponent} from './color-choices/color-choices.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {NgxEchartsModule} from 'ngx-echarts';
import {CalendarModule} from 'primeng/calendar';
import {TreeTableModule} from 'primeng/treetable';
import {ColorPickerModule} from 'primeng/colorpicker';
import {FileUploadModule} from 'primeng/fileupload';
import {AutoCompleteModule} from 'primeng/autocomplete';
import {DialogModule} from 'primeng/dialog';
import {ConfirmDialogModule} from 'primeng/confirmdialog';
import {ConfirmationService} from 'primeng/api';
// import {
//   AutoCompleteModule,
//   CalendarModule,
//   ColorPickerModule,
//   ConfirmationService,
//   ConfirmDialogModule,
//   // DataScrollerModule,
//   // DataTableModule,
//   DialogModule,
//   DropdownModule,
//   FileUploadModule,
//   // GrowlModule,
//   InputSwitchModule,
//   RadioButtonModule,
//   TreeTableModule
// } from 'primeng/primeng';
import {NzMessageModule} from 'ng-zorro-antd';

@NgModule({
  imports: [
    CommonModule,
    CalendarModule,
    TreeTableModule,
    MatDialogModule,
    FormsModule,
    ReactiveFormsModule,
    // CalendarModule,
    ColorPickerModule,
    AutoCompleteModule,
    FileUploadModule,
    MatProgressBarModule,
    // GrowlModule,
    // RadioButtonModule,
    // TableModule,
    // InputSwitchModule,
    // DataScrollerModule,
    DialogModule,
    // DropdownModule,
    // TreeTableModule,
    ConfirmDialogModule,
    NzMessageModule,

  ],
  declarations: [
    BladeContainerDirective,
    BladeComponent,
    DialogComponent,
    BladeBoxComponent,
    ColorChoicesComponent,

  ],
  exports: [
    BladeComponent,
    DialogComponent,
    BladeBoxComponent,
    ColorChoicesComponent,
    FlexLayoutModule,
    NgxEchartsModule,
    CalendarModule,
    TreeTableModule,
    // CalendarModule,
    ColorPickerModule,
    AutoCompleteModule,
    FileUploadModule,
    // GrowlModule,
    // RadioButtonModule,
    // TableModule,
    // InputSwitchModule,
    // DataScrollerModule,
    DialogModule,
    // DropdownModule,
    // TreeTableModule,
    ConfirmDialogModule,
    NzMessageModule,
    MatProgressBarModule,
  ],
  entryComponents: [
    DialogComponent,

  ],
  providers: [DialogService,
    ConfirmationService
  ]
})
export class SharedModule {
}


// WEBPACK FOOTER //
// ./src/app/shared/shared.module.ts
